
package com.jf.cloud.product.dto;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 出入库商品项DTO
 *
 * @author zz
 * @date 2022-06-22 16:57:27
 */
public class StockBillLogItemDTO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "出入库商品项id" )
    private Long stockBillLogItemId;

    @Schema(description = "出入库明细id" )
    private Long stockBillLogId;

    @Schema(description = "实际出入库数量" )
    private Integer stockCount;

    @Schema(description = "商品库存剩余量" )
    private Integer afterStock;

    @Schema(description = "成本单价" )
    private Long unitPrice;

    @Schema(description = "商品id" )
    private Long spuId;

    @Schema(description = "skuId" )
    private Long skuId;

    @Schema(description = "备注" )
    private String remark;

    @Schema(description = "商品编码" )
    private String partyCode;

    @Schema(description = "店铺Id" )
    private Long shopId;

    @Schema(description = "商品图片" )
    private String mainImgUrl;

    @Schema(description = "可售卖库存" )
    private Integer stock;

    public String getMainImgUrl() {
        return mainImgUrl;
    }

    public void setMainImgUrl(String mainImgUrl) {
        this.mainImgUrl = mainImgUrl;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }


    public String getPartyCode() {
        return partyCode;
    }

    public void setPartyCode(String partyCode) {
        this.partyCode = partyCode;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getStockBillLogItemId() {
        return stockBillLogItemId;
    }

    public void setStockBillLogItemId(Long stockBillLogItemId) {
        this.stockBillLogItemId = stockBillLogItemId;
    }

    public Long getStockBillLogId() {
        return stockBillLogId;
    }

    public void setStockBillLogId(Long stockBillLogId) {
        this.stockBillLogId = stockBillLogId;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Integer getAfterStock() {
        return afterStock;
    }

    public void setAfterStock(Integer afterStock) {
        this.afterStock = afterStock;
    }

    public Long getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(Long unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "StockBillLogItemDTO{" +
                "stockBillLogItemId=" + stockBillLogItemId +
                ",stockBillLogId=" + stockBillLogId +
                ",stockCount=" + stockCount +
                ",afterStock=" + afterStock +
                ",unitPrice=" + unitPrice +
                ",spuId=" + spuId +
                ",skuId=" + skuId +
                ",remark=" + remark +
                '}';
    }
}
